package com.wonders.hisdoctor.station.project.base.domain;

import com.wonders.his.common.utils.validator.group.PrimaryGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>电子病历个人模板明细表</p>
 * <p>db_table: WDEDITOR_PRITEMPLATEDETAIL</p>
 * @author tong-aj
 * @date 2021/03/24
 */
@ApiModel("电子病历个人模板明细表")
@Accessors(chain = true)
@Data
@ToString
@TableName("WDEDITOR_PRITEMPLATEDETAIL")
public class WdeditorPritemplatedetail implements Serializable {

    private static final long serialVersionUID = -6913300828148616407L;

    /** `主键` db_field: ID; desc: 表ID */
    @ApiModelProperty("表ID")
    @TableId
    @NotNull(message = "表ID不能为空", groups = PrimaryGroup.class)
    @TableField("ID")
    private String id;

    /** db_field: T_ID; desc: 个人模板主表ID */
    @ApiModelProperty("个人模板主表ID")
    @TableField("T_ID")
    private String tId;

    /** db_field: SET_ID; desc: 配置表ID */
    @ApiModelProperty("配置表ID")
    @TableField("SET_ID")
    private String setId;

    /** db_field: DEFAULT_VALUE; desc: 默认值 */
    @ApiModelProperty("默认值")
    @TableField("DEFAULT_VALUE")
    private String defaultValue;

}